package com.zzvcom.persist.model.admin;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zzvcom.persist.model.IdEntity;

@Entity
@Table(name = "inquiry")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Inquiry extends IdEntity
{
    private String name;

    private String company;

    private String country;

    private String tel;

    private String email;

    private String address;

    @Lob
    // @Basic(fetch = FetchType.LAZY)
    @Column(nullable = true)
    private String messages;

    private String addtime;
    
    private String display;
    
    private String isnew;
    
    private String reply;

    public String getIsnew()
	{
		return isnew;
	}

	public void setIsnew(String isnew)
	{
		this.isnew = isnew;
	}

	public String getReply()
	{
		return reply;
	}

	public void setReply(String reply)
	{
		this.reply = reply;
	}

	public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getCompany()
    {
        return company;
    }

    public void setCompany(String company)
    {
        this.company = company;
    }

    public String getCountry()
    {
        return country;
    }

    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getTel()
    {
        return tel;
    }

    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getMessages()
    {
        return messages;
    }

    public void setMessages(String messages)
    {
        this.messages = messages;
    }

    public String getAddtime()
    {
        return addtime;
    }

    public void setAddtime(String addtime)
    {
        this.addtime = addtime;
    }

	public String getDisplay()
	{
		return display;
	}

	public void setDisplay(String display)
	{
		this.display = display;
	}

}
